package com.ruoyi.common.core.domain.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.math.BigDecimal;

public class ProOrderDetail extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 订单序号ID */
    private Long orderId;

    /** 订单编号 */
    private String orderCode;


    /** 子任务编号 */
    private String childTaskCode;

    /** 自制件名称 */
    @Excel(name = "部件名称")
    private String customTitle;

    /** 零件图号 */
    @Excel(name = "图号")
    private String partNumber;

    /** 下料数量 */
    @Excel(name = "下料数量")
    private Integer num;

    /** 实际下料数量 */
    @Excel(name = "实际下料数量")
    private String realNum;

    /** 下料长度 */
    @Excel(name = "下料长度")
    private BigDecimal cutLength;

    /** 下料宽度 */
    @Excel(name = "下料宽度")
    private BigDecimal cutWidth;

    /** 下料尺寸 */
    @Excel(name = "下料尺寸")
    private String laySize;

    /** 直径 */
    @Excel(name = "直径")
    private BigDecimal diameter;

    /** 厚度 */
    @Excel(name = "厚度")
    private BigDecimal thickness;

    /** 批次号 */
    @Excel(name = "批次号")
    private String batchCode;

    /**
     * 是否需要金加工
     */
    @Excel(name = "是否需要金加工", readConverterExp = "0=否,1=是")
    private Integer isMetalProcess;

    /**
     * 是否有下料图
     */
    @Excel(name = "是否有下料图", readConverterExp = "0=否,1=是")
    private Integer isCut;

    /**
     * 是否需要委外
     */
    @Excel(name = "是否委外", readConverterExp = "0=否,1=是")
    private Integer isOutsource;

    /**
     * 是否受压件
     */
    @Excel(name = "是否受压件", readConverterExp = "0=否,1=是")
    private String isPress;

    /**
     * 原材料料号
     */
    @Excel(name = "材料编码")
    private String rawMaterialCode;

    /**
     * 原材料材质牌号及规格
     */
    @Excel(name = "标准")
    private String rawMaterialSize;

    /**
     * 加工说明
     */
    @Excel(name = "加工说明")
    private String processExlpain;

    /**
     * 计划完成时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String planTime;

    /**
     * 需求时间
     */
    @Excel(name = "下料完成时间" , width = 30, dateFormat = "yyyy-MM-dd", type = Excel.Type.ALL)
    private String requireTime;

    /**
     * 单件工时
     */
    @Excel(name = "单件工时")
    private String singleHour;

    /**
     * 材料名称
     */
    @Excel(name = "材料名称")
    private String materialName;

    /**
     * 规格
     */
    @Excel(name = "规格")
    private String standard;

    /**
     * 型号
     */
    @Excel(name = "型号")
    private String model;

    /**
     * 重量
     */
    @Excel(name = "重量")
    private BigDecimal weight;

    /**
     * 班组长信息
     */
    @Excel(name = "班组长信息")
    private String teamName;

    /**
     * 单位
     */
    @Excel(name = "单位")
    private String unit;

    /**
     * 状态
     */
    private Integer status;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }


    public String getChildTaskCode() {
        return childTaskCode;
    }

    public void setChildTaskCode(String childTaskCode) {
        this.childTaskCode = childTaskCode;
    }

    public String getCustomTitle() {
        return customTitle;
    }

    public void setCustomTitle(String customTitle) {
        this.customTitle = customTitle;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getRealNum() {
        return realNum;
    }

    public void setRealNum(String realNum) {
        this.realNum = realNum;
    }

    public BigDecimal getCutLength() {
        return cutLength;
    }

    public void setCutLength(BigDecimal cutLength) {
        this.cutLength = cutLength;
    }

    public BigDecimal getCutWidth() {
        return cutWidth;
    }

    public void setCutWidth(BigDecimal cutWidth) {
        this.cutWidth = cutWidth;
    }

    public String getLaySize() {
        return laySize;
    }

    public void setLaySize(String laySize) {
        this.laySize = laySize;
    }

    public BigDecimal getDiameter() {
        return diameter;
    }

    public void setDiameter(BigDecimal diameter) {
        this.diameter = diameter;
    }

    public BigDecimal getThickness() {
        return thickness;
    }

    public void setThickness(BigDecimal thickness) {
        this.thickness = thickness;
    }

    public String getBatchCode() {
        return batchCode;
    }

    public void setBatchCode(String batchCode) {
        this.batchCode = batchCode;
    }

    public Integer getIsMetalProcess() {
        return isMetalProcess;
    }

    public void setIsMetalProcess(Integer isMetalProcess) {
        this.isMetalProcess = isMetalProcess;
    }

    public Integer getIsCut() {
        return isCut;
    }

    public void setIsCut(Integer isCut) {
        this.isCut = isCut;
    }

    public Integer getIsOutsource() {
        return isOutsource;
    }

    public void setIsOutsource(Integer isOutsource) {
        this.isOutsource = isOutsource;
    }

    public String getIsPress() {
        return isPress;
    }

    public void setIsPress(String isPress) {
        this.isPress = isPress;
    }

    public String getRawMaterialCode() {
        return rawMaterialCode;
    }

    public void setRawMaterialCode(String rawMaterialCode) {
        this.rawMaterialCode = rawMaterialCode;
    }

    public String getRawMaterialSize() {
        return rawMaterialSize;
    }

    public void setRawMaterialSize(String rawMaterialSize) {
        this.rawMaterialSize = rawMaterialSize;
    }

    public String getProcessExlpain() {
        return processExlpain;
    }

    public void setProcessExlpain(String processExlpain) {
        this.processExlpain = processExlpain;
    }

    public String getPlanTime() {
        return planTime;
    }

    public void setPlanTime(String planTime) {
        this.planTime = planTime;
    }

    public String getRequireTime() {
        return requireTime;
    }

    public void setRequireTime(String requireTime) {
        this.requireTime = requireTime;
    }

    public String getSingleHour() {
        return singleHour;
    }

    public void setSingleHour(String singleHour) {
        this.singleHour = singleHour;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public String getStandard() {
        return standard;
    }

    public void setStandard(String standard) {
        this.standard = standard;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public BigDecimal getWeight() {
        return weight;
    }

    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    public String getTeamName() {
        return teamName;
    }

    public void setTeamName(String teamName) {
        this.teamName = teamName;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getPartNumber() {
        return partNumber;
    }

    public void setPartNumber(String partNumber) {
        this.partNumber = partNumber;
    }

    @Override
    public String toString() {
        return "ProOrderDetail{" +
                "orderId=" + orderId +
                ", orderCode='" + orderCode + '\'' +
                ", childTaskCode='" + childTaskCode + '\'' +
                ", customTitle='" + customTitle + '\'' +
                ", partNumber='" + partNumber + '\'' +
                ", num=" + num +
                ", realNum='" + realNum + '\'' +
                ", cutLength=" + cutLength +
                ", cutWidth=" + cutWidth +
                ", size='" + laySize + '\'' +
                ", diameter=" + diameter +
                ", thickness=" + thickness +
                ", batchCode='" + batchCode + '\'' +
                ", isMetalProcess=" + isMetalProcess +
                ", isCut=" + isCut +
                ", isOutsource=" + isOutsource +
                ", isPress=" + isPress +
                ", rawMaterialCode='" + rawMaterialCode + '\'' +
                ", rawMaterialSize='" + rawMaterialSize + '\'' +
                ", processExlpain='" + processExlpain + '\'' +
                ", planTime=" + planTime +
                ", requireTime=" + requireTime +
                ", singleHour='" + singleHour + '\'' +
                ", materialName='" + materialName + '\'' +
                ", standard='" + standard + '\'' +
                ", model='" + model + '\'' +
                ", weight=" + weight +
                ", teamName='" + teamName + '\'' +
                ", unit='" + unit + '\'' +
                ", status=" + status +
                '}';
    }
}
